﻿using housingsafety.server.Entities;
using housingsafety.server.Helpers;
using housingsafety.server.Models;

namespace housingsafety.server.Svcs
{
    public interface IUserTokenService
    {
        RespRet UpdateRefreshTokens(UserRefreshToken user);
        RespRet<UserRefreshToken> GetRefreshTokens(string refreshTokenOrUserNumber);
        RespRet<string> ValidateUser(AuthenticateRequest model, string ipAddress);
        void RevokeToken(string refreshTokenOrUserNumber);
    }
}
